﻿// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "Blueprint/WidgetBlueprintLibrary.h"
#include "MyWidgetBlueprintLibrary.generated.h"

/**
 * 
 */
UCLASS()
class TESTDESC1_API UMyWidgetBlueprintLibrary : public UWidgetBlueprintLibrary
{
	GENERATED_BODY()
	
public:
	// 绕点pos和axis轴，旋转angle角度
	UFUNCTION(BlueprintCallable)
		static void MyRotateActorAround(class AActor* actor, FVector pos, FVector axis, float angle);

	UFUNCTION(BlueprintCallable)
		static FTransform MyRotateAround(FTransform transform, FVector pos, FVector axis, float angle);
		
	UFUNCTION(BlueprintCallable)
		static FTransform GhRotateAround(FTransform transform, FVector pos, FVector axis, float angle);
};
